package com.ypd.shop.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import com.ypd.common.annotation.Excel;
import com.ypd.common.core.domain.BaseEntity;

/**
 * 我的收藏对象 tb_property_favorites
 * 
 * @author lin
 * @date 2024-12-06
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class PropertyFavorites extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long favoriteId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 商铺ID */
    @Excel(name = "商铺ID")
    private Long propertyId;

    /** 收藏时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "收藏时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date favoriteTime;



}
